package com.atguigu.Collection;

import java.util.*;

public class Collection {
    private int[] arr1;
    private String[] arr;
    private List<String> list;
    private Map<String,String> map;
    private Set<String> set;

    public void setArr1(int[] arr1) {
        this.arr1 = arr1;
    }

    public void setArr(String[] arr) {
        this.arr = arr;
    }

    public void setList(List<String> list) {
        this.list = list;
    }

    public void setMap(Map<String, String> map) {
        this.map = map;
    }

    public void setSet(Set<String> set) {
        this.set = set;
    }

    public void showArr1(){
        System.out.println(Arrays.toString(arr1));
    }
    public void showArr(){
        System.out.println(Arrays.toString(arr));
    }
    public void showList(){
        System.out.println(list);
    }
    public void showMap(){
        System.out.println(map);
    }
    public void showSet(){
        System.out.println(set);
    }
}
